home *** CD-ROM | disk | FTP | other *** search
- Path: kuhub.cc.ukans.edu!anh
- From: anh@kuhub.cc.ukans.edu
- Newsgroups: comp.lang.pascal.misc,comp.lang.pascal.borland,comp.programming,comp.lang.misc,comp.lang.c,comp.lang.c++
- Subject: Re: Writing an expression evaluator
- Message-ID: <1996Feb19.194610.114372@kuhub.cc.ukans.edu>
- Date: 19 Feb 96 19:46:10 CST
- References: <311FEBD8.7305@cnj.digex.net> <31251AAF.2D0B@harrier.bldrdoc.gov>
- Organization: University of Kansas Academic Computing Services
-
- Have you tried LEX and YACC? The tools could be an overkill but for more
- complex parsing stuff, they will save you time.
-
- Anh
-
- In article <31251AAF.2D0B@harrier.bldrdoc.gov>, "G. C. Straty" <straty@harrier.bldrdoc.gov> writes:
- > Aristotle wrote:
- >>
- >> Does anyone have any tips on how to go about writing an expression
- >> evaluator(one complex enough to handle Trig. functions). I am writing a
- >> program that uses expression and I would like to have the user be able to
- >> enter their own expressions and have my program implement them. Any help
- >> would be appreciated. Thanks in advance!
- >>
-